package com.fudan.adse.utils;


import java.util.UUID;

/**
 * @author Jerry Zhang <zhangjian16@fudan.edu.cn>
 * @desc 生成 uuid
 * @date 2022-09-24 14:19
 */
public class UUIDUtil {

    public static String generateUUID(String text) {
        String stringBuilder = text + UUID.randomUUID();
        return UUID.nameUUIDFromBytes(stringBuilder.getBytes()).toString();
    }
}
